Class yassl.binarynode
All Packages    This Package    Previous    Next

Class yassl.binarynode

java.lang.Object
   |
   +----yassl.pnode
           |
           +----yassl.unarynode
                   |
                   +----yassl.binarynode

public class binarynode
extends unarynode
These are operator nodes in the parse tree with two sub children

Constructor Index

 o binarynode(int, pnode, pnode)

Method Index

 o wiggle()
Operator precedence for binary nodes works by making sure the operator at the node has no greater precedence than its left child.

Constructors

 o binarynode
  public binarynode(int optype,
                    pnode left,
                    pnode right)

Methods

 o wiggle
  public pnode wiggle()
Operator precedence for binary nodes works by making sure the operator at the node has no greater precedence than its left child.
Overrides:
wiggle in class unarynode


All Packages    This Package    Previous    Next